//
//  ParkingTimeViewController.m
//  Renyiting
//
//  Created by timmy on 16/9/6.
//  Copyright © 2016年 timmy. All rights reserved.
//

#import "ParkingTimeViewController.h"
#import "TimeWarning.h"
#import <QuartzCore/QuartzCore.h>

@interface ParkingTimeViewController ()<TimeWarningDelegate>

@end

@implementation ParkingTimeViewController

- (void)viewDidLoad {
    [super viewDidLoad];

    self.title = @"停车定时提醒";
    
    [self layoutViews];

}

- (void)layoutViews {

    self.view.backgroundColor = BACKGROUND_COLOR;
    TimeWarning *time = [[TimeWarning alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT) backgroundColor:BACKGROUND_COLOR foregroundColor:COMMON_COLOR];
    [self.view addSubview:time];
    time.delegate = self;
    time.littlePic.layer.anchorPoint = CGPointMake(-1,0);

}

- (void)stopParking {

    [self.navigationController popViewControllerAnimated:YES];

}

@end
